﻿using AutoSelfApp.Views;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AutoSelfApp
{
    public delegate void KeyBoardPress(String key);
    public partial class FrmKeyBoard : Form
    {
        public KeyBoardPress keyBoardPress;
        public FrmKeyBoard()
        {
            
            InitializeComponent();
            this.simpleButton28.Text = "查\n询";
        }

        private void simpleButton4_Click(object sender, EventArgs e)
        {
            keyBoardPress("Q");
        }

        private void simpleButton5_Click(object sender, EventArgs e)
        {
            keyBoardPress("W");
        }

        private void simpleButton6_Click(object sender, EventArgs e)
        {
            keyBoardPress("E");
        }

        private void simpleButton13_Click(object sender, EventArgs e)
        {
            keyBoardPress("R");
        }

        private void simpleButton12_Click(object sender, EventArgs e)
        {
            keyBoardPress("T");
        }

        private void simpleButton11_Click(object sender, EventArgs e)
        {
            keyBoardPress("Y");
        }

        private void simpleButton10_Click(object sender, EventArgs e)
        {
            keyBoardPress("U");
        }

        private void simpleButton9_Click(object sender, EventArgs e)
        {
            keyBoardPress("I");
        }

        private void simpleButton8_Click(object sender, EventArgs e)
        {
            keyBoardPress("O");
        }

        private void simpleButton7_Click(object sender, EventArgs e)
        {
            keyBoardPress("P");
        }

        private void simpleButton3_Click(object sender, EventArgs e)
        {
            keyBoardPress("A");
        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            keyBoardPress("S");
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            keyBoardPress("D");
        }

        private void simpleButton22_Click(object sender, EventArgs e)
        {
            keyBoardPress("F");
        }

        private void simpleButton21_Click(object sender, EventArgs e)
        {
            keyBoardPress("G");
        }

        private void simpleButton20_Click(object sender, EventArgs e)
        {
            keyBoardPress("H");
        }

        private void simpleButton19_Click(object sender, EventArgs e)
        {
            keyBoardPress("J");
        }

        private void simpleButton18_Click(object sender, EventArgs e)
        {
            keyBoardPress("K");
        }

        private void simpleButton17_Click(object sender, EventArgs e)
        {
            keyBoardPress("L");
        }

        private void simpleButton16_Click(object sender, EventArgs e)
        {
            keyBoardPress("Z");
        }

        private void simpleButton15_Click(object sender, EventArgs e)
        {
            keyBoardPress("X");
        }

        private void simpleButton14_Click(object sender, EventArgs e)
        {
            keyBoardPress("C");
        }

        private void simpleButton26_Click(object sender, EventArgs e)
        {
            keyBoardPress("V");
        }

        private void simpleButton25_Click(object sender, EventArgs e)
        {
            keyBoardPress("B");
        }

        private void simpleButton24_Click(object sender, EventArgs e)
        {
            keyBoardPress("N");
        }

        private void simpleButton23_Click(object sender, EventArgs e)
        {
            keyBoardPress("M");
        }

        private void simpleButton27_Click(object sender, EventArgs e)
        {
            keyBoardPress("DEL");
        }

        private void simpleButton28_Click(object sender, EventArgs e)
        {
            keyBoardPress("QUERY");
        }
    }
}
